package com.eascs.workflow.common.entity.exception;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "o2o_js_exception_catch")
public class JSErrorEntity implements Serializable{
	private static final long serialVersionUID = -261248518327789726L;
	
	@Id
	private String id;
	
	/** 列 */
	private String cols;
	
	/** 行 */
	private String line;
	
	/** 错误内容 */
	private String msg;
	
	private String url;
	
	@Column(name = "create_time")
    @Temporal(TemporalType.TIMESTAMP)
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	
	
	public String getCols() {
		return cols;
	}

	public void setCols(String cols) {
		this.cols = cols;
	}

	public String getLine() {
		return line;
	}

	public void setLine(String line) {
		this.line = line;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "JSErrorEntity [id=" + id + ", column=" + cols + ", line=" + line + ", msg=" + msg + ", url=" + url
				+ ", createTime=" + createTime + "]";
	}
	
	
	
}
